package com.lzx.iteam.bean.aidl;

import android.os.Parcel;
import android.os.Parcelable;

/**
 */
public class ActiveDetailBean implements Parcelable {

    public static final Parcelable.Creator<ActiveDetailBean> CREATOR = new Parcelable.Creator<ActiveDetailBean>() {

        @Override
        public ActiveDetailBean createFromParcel(Parcel source) {
            return new ActiveDetailBean(source);
        }

        @Override
        public ActiveDetailBean[] newArray(int size) {
            return new ActiveDetailBean[size];
        }
    };


    private String image;
    private String name;
    private String phone;
    private String uid;

    public ActiveDetailBean(Parcel source) {
        readFromParcel(source);
    }

    public ActiveDetailBean() {
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }


    @Override
    public String toString() {
        return "ActiveDetailBean{" +
                "image='" + image + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", uid='" + uid + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(image);
        parcel.writeString(name);
        parcel.writeString(phone);
        parcel.writeString(uid);

    }


    public void readFromParcel(Parcel source) {
        image = source.readString();
        name = source.readString();
        phone = source.readString();
        uid = source.readString();
    }
}
